//
//  KLMyPraiseCell.m
//  used
//
//  Created by xalo on 16/7/27.
//  Copyright © 2016年 王凯. All rights reserved.
//

#import "KLMyPraiseCell.h"


@interface KLMyPraiseCell ()
@property (weak, nonatomic) IBOutlet UIImageView *imageV;
@property (weak, nonatomic) IBOutlet UILabel *title;
@property (weak, nonatomic) IBOutlet UILabel *descLabel;
@property (weak, nonatomic) IBOutlet UILabel *priceLabel;

@end


@implementation KLMyPraiseCell

- (void)setModel:(KLCommodity *)model {
    
    [self.imageV sd_setImageWithURL:[NSURL URLWithString:model.productImage]];
    self.title.text = model.productname;
    self.descLabel.text = model.desc;
    self.priceLabel.text = [NSString stringWithFormat:@"￥%@", model.saleprice];
}

@end
